/*声明字体图标*/
@font-face {
  font-family: "iconfont";
  src: url("../font/iconfont.ttf?t=1649558434158") format("truetype");
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.heart {
  width: 1200px;
  margin: 0 auto;
}
.style_red {
  color: #f10215;
}
/*快捷导航模块*/
.shortcut {
  width: 100%;
  height: 30px;
  line-height: 30px;
  background-color: #f4f4f4;
}
.shortcut ul li {
  float: left;
}
.shortcut ul li a {
  margin-left: 6px;
}
.fleft {
  float: left;
}
.fright {
  float: right;
}
/*选出导航栏中的竖线li，做竖线样式*/
.line li:nth-child(2n) {
  width: 1px;
  height: 10px;
  margin: 10px 10px;
  background-color: #ccc;
}

.shortcut ul li .iconfont {
  font-size: 5px;
  margin-left: 2px;
}

/*头部模块*/
.header-bar {
  position: relative;
  height: 120px;
}
.logo {
  position: absolute;
  top: 10px;
  width: 100px;
  height: 105px;
}
.logo a {
  display: block;
  width: 100px;
  height: 105px;
  background: url(../images/logo.png) no-repeat;
  background-size: 100%; /*背景大小自适应*/
  text-indent: -800px;
  overflow: hidden; /*链接文字实现隐藏*/
}
.search {
  position: absolute;
  left: 260px;
  top: 30px;
  width: 538px;
  height: 36px;
}
.search input {
  float: left;
  width: 455px;
  height: 36px;
  padding-left: 16px;
  border: 2px solid #e2231a;
}
.search button {
  float: left;
  width: 82px;
  height: 36px;
  background-color: #e2231a;
  border: 2px solid #e2231a;
  font-size: 16px;
  color: white;
}
/*热点词模块*/
.hotwords {
  position: absolute;
  top: 66px;
  left: 260px;
}
.hotwords a {
  margin-right: 10px; /*行内元素可以指定左右margin*/
}
/*购物车模块*/
.shopcar {
  position: absolute;
  right: 170px;
  top: 30px;
  width: 130px;
  height: 35px;
  line-height: 34px;
  text-align: center;
  border: 1px solid #eee;
}
.shopcar span {
  font-size: 5px;
}
.count {
  position: absolute;
  top: -6px;
  left: 29px;
  height: 14px;
  line-height: 14px;
  color: white;
  background-color: #e2231a;
  padding: 0 5px;
  border-radius: 7px 7px 7px 0;
}
/*导航栏模块*/
.nav {
  width: 100%;
  height: 47px;
  border-top: 1px #ccc solid;
  overflow: hidden;
}
.nav .dropdown {
  float: left;
  width: 210px;
  height: 45px;
  background-color: #e2231a;
}
.nav .navitems {
  float: left;
}
/*全部商品分类*/
.dropdown .dt {
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  line-height: 45px;
  font-size: 16px;
}
.dropdown .dd {
  display: none;
  width: 100%;
  height: 461px;
  background-color: #fafafa;
}
.dropdown .dd ul li {
  height: 30px;
  line-height: 30px;
  margin-left: 2px;
  padding-left: 12px;
  font-size: 14px;
  color: #333;
}
.dropdown .dd ul li:hover {
  background-color: #d9d9d9;
}
.dropdown .dd ul li a:hover {
  color: #e2231a;
}
.dropdown .dd ul li::after {
  float: right;
  margin-right: 5px;
  font-family: "iconfont";
  font-size: 5px;
  content: "\e8d2";
}
/*导航各个项目*/
.navitems ul li {
  float: left;
}
.navitems ul li a {
  display: block;
  height: 47px;
  line-height: 45px;
  text-align: center;
  font-size: 16px;
  padding: 0 25px;
}
/*footer部分*/
.footer {
  width: 100%;
  height: 415px;
  background-color: #f5f5f5;
  padding-top: 30px;
}
.mod_service {
  height: 80px;
  border-bottom: 1px solid #ccc;
}
.mod_service ul li {
  float: left;
  width: 300px;
  height: 50px;
  padding-left: 35px;
  line-height: 50px;
}
.mod_service ul li h5 {
  float: left;
  width: 50px;
  height: 50px;
  background: url(../images/icons.png) no-repeat -256px 0px;
  margin-right: 10px;
}
.mod_service ul li p {
  font-size: 18px;
  font-weight: 700;
  color: #444;
}
/*footer下半部分*/
.mod_help {
  height: 185px;
  border-bottom: 1px solid #ccc;
  padding-top: 20px;
  padding-left: 50px;
}
.mod_help .mod_help_nav h5 {
  font-size: 16px;
  margin-bottom: 5px;
}
.mod_help .mod_help_nav {
  float: left;
  width: 200px;
}
.mod_help .mod_help_nav:last-child {
  width: 90px;
}
.mod_help .mod_help_nav img {
  width: 100%;
}
/*footer友情链接*/
.mod_copyright {
  text-align: center;
  padding-top: 15px;
}
.mod_copyright .copyright {
  padding-top: 10px;
  line-height: 22px;
  color: #999;
}
.mod_copyright .mod_copyright_split {
  margin: 0 7px;
  color: #ccc;
}
